package acceptance;

import junit.framework.TestCase ;



/**
 * @author Administrator
 *
 */
public abstract class ProjectTest extends TestCase{



	/**
	 *  the proxy bridge or the real bridge
	 */
	protected final IBridge _bridge;



	/**
	 * constructor that gets the correct bridge
	 */
	public ProjectTest(){
		this._bridge = AcceptanceDriver.getCorrespondingBridge();
	}



	@Override
	protected void setUp()
	{
		try
		{
			super.setUp() ;
			this._bridge.createNewData();
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}


		//this.server = new UserServer(this.persistenceGenerator) ;
		//this.emptyServer = new UserServer(this.newPersistenceGenerator(PersistenceController.BUILD_NEW, false)) ;
	}


}